package com.springcloud.stock.feign;

import com.springcloud.commom.api.R;
import org.springframework.stereotype.Component;

@Component
public class StoreClientFallback implements IStoreClient{

    @Override
    public R<String> decreaseStore(String id, Integer num) {
        return R.fail("数据错误!");
    }
}
